package com.itheima.project_cloth.service.impl;

import com.itheima.project_cloth.mapper.LoginMapper;
import com.itheima.project_cloth.pojo.Emp;
import com.itheima.project_cloth.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;

    @Override
    public Emp Login(Emp emp) {
        Emp emp1 = loginMapper.Login(emp);
        return emp1;
    }
}
